package com.yuan.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yuan.dao.IUserDao;
import com.yuan.pojo.User;
import com.yuan.service.IUserService;

/**
 * 
* @ClassName: UserServiceImpl 
* @Description: TODO
* @author Joryun
* @date 2016年11月20日 下午3:45:36 
*
 */
@Service("userService")
public class UserServiceImpl implements IUserService{
	
	@Resource
	private IUserDao userDao;

	public User getUserById(int userId) {
		
		return this.userDao.selectByPrimaryKey(userId);
	}
	
}
